package com.charon.auth.variety.browser;

import com.charon.auth.base.BaseSecurityProperties;
import com.charon.auth.enumeration.LoginType;
import org.springframework.stereotype.Component;

/**
  *@ClassName: BrowserProperties
  *@Description: 浏览器登录配置读取（读取配置文件）
  *@Author: Charon [248135724@qq.com]
  *@Date: 2019/1/17 0017 20:43
  *@Version: 1.0
  */

public class BrowserProperties extends BaseSecurityProperties {

    //默认记住密码保存时间为7天
    private int rememberMeSeconds = 3600*24*7;

    @Override
    public String getLoginPage() {
        return loginPage;
    }

    @Override
    public void setLoginPage(String loginPage) {
        this.loginPage = loginPage;
    }

    public int getRememberMeSeconds() {
        return rememberMeSeconds;
    }

    public void setRememberMeSeconds(int rememberMeSeconds) {
        this.rememberMeSeconds = rememberMeSeconds;
    }
}
